package com.zshan.clinic.common.exception;


import com.zshan.clinic.common.enums.ResultEnum;

/**
 * 自定义异常业务异常
 */
public class UnAuthException extends BusinessFailException {

    public UnAuthException(String message) {
        super(ResultEnum.UN_AUTHORIZED.getValue(), message);
    }

    public UnAuthException() {
        super(ResultEnum.UN_AUTHORIZED);
    }
}
